<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org" xmlns:hello="http://hello">

  <head>
    <title>Say Hello! - Extending Thymeleaf in 5 minutes</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>

  <body>

    <h1>To the world...</h1>
    
    <p hello:sayto="World">Hi ya!</p>

    <h1>To each planet...</h1>

    <ul>
      <li th:each="planet : ${planets}" hello:saytoplanet="${planet}">Hi Planet X!</li>
    </ul>

  </body>
</html>